package com.witframework.baseapp.security.controller;

import org.springframework.stereotype.Component;

import com.witframework.web.mvc.WebContext;

@Component
public class logoutController {	

	public String executor(WebContext webContext) {
		webContext.getHttpRequest().getSession().invalidate();		
		return "redirect:"+webContext.getContextPath();
	}
	
}
